.Net Framework > v3.5.21022.8 > System > Linq > Queryable > GroupBy<TSource,TKey,TResult> GroupBy<TSource,TKey,TResult>(IQueryable<TSource>,Func<TSource,TKey>>,Func<TKey,IEnumerable<TSource>,TResult>>)
GroupBy<TSource,TKey,TResult>(IQueryable<TSource>,Func<TSource,TKey>>,Func<TKey,IEnumerable<TSource>,TResult>>,IEqualityComparer<TKey>)


GroupBy<TSource,TKey,TResult>(IQueryable<TSource>,Func<TSource,TKey>>,Func<TKey,IEnumerable<TSource>,TResult>>)

Category
Method
Description
Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key.
Type
System.Linq.IQueryable<TResult>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
keySelectorSystem.Linq.Expressions.Expression<System.Func<TSource,TKey>>
resultSelectorSystem.Linq.Expressions.Expression<System.Func<TKey,System.Collections.Generic.IEnumerable<TSource>,TResult>>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

GroupBy<TSource,TKey,TResult>(IQueryable<TSource>,Func<TSource,TKey>>,Func<TKey,IEnumerable<TSource>,TResult>>,IEqualityComparer<TKey>)

Category
Method
Description
Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Keys are compared by using a specified comparer.
Type
System.Linq.IQueryable<TResult>
Character
public, static
Parameters
NameTypeDescription
sourceSystem.Linq.IQueryable<TSource>
keySelectorSystem.Linq.Expressions.Expression<System.Func<TSource,TKey>>
resultSelectorSystem.Linq.Expressions.Expression<System.Func<TKey,System.Collections.Generic.IEnumerable<TSource>,TResult>>
comparerSystem.Collections.Generic.IEqualityComparer<TKey>
Attributes
NameValue/Assignment
ExtensionAttribute
Tags
01892ABD01, 02E3ABA98D, 0322962271

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database